Increasing Perfect Nests in Scientific Programs

نویسندگان

  • Tarek S. Abdelrahman
  • Robert Sawaya
چکیده

Loop optimizations for data locality often require perfect loop nests. In this paper, we report on the extent to which perfect nests are present in 23 applications from 4 standard benchmark suites. Further, we evaluate the effectiveness of 3 transformations for converting imperfect nests into perfect ones: code sinking loop distribution and loop fusion. We find that on average, perfect nests contribute to only 39% of the execution time of the benchmarks. Code sinking causes the largest increase in the relative contribution to execution time of perfect nests (to 56%) followed by loop distribution (to 45%). Loop fusion results in no significant improvement. We also evaluate the overhead of applying the transformations. Based on our results, we suggest a strategy for using the transformations in a compiler.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Submitted to Acm Transactions on Computer Systems Quantifying Loop Nest Locality Using Spec'95 and the Perfect Benchmarks

This paper analyzes and quantiies the locality characteristics of numerical loop nests in order to suggest future directions for architecture and software cache optimizations. Since most programs spend the majority of their time in nests, the vast majority of cache optimization techniques target loop nests. In contrast, the locality characteristics that drive these optimizations are usually col...

متن کامل

Beyond convexity: scanning 'non-convex polyhedra'

The enumeration of points contained in an algebraically specified domain is one of the key algorithmic problems in the transformation of scientific programs. However, basic scanning algorithms accept only single convex polyhedra, requiring specialized techniques and causing run-time overhead if the set of points to enumerate is not convex. In this paper, we review the existing approaches to the...

متن کامل

Affine-by-Statement Transformations of Imperfectly Nested Loops

A majority of loop restructuring techniques developed so far assume that loops are perfectly nested. The unimodular approach unifies three individual transformations – loop interchange, skewing and reversal – but is still limited to perfect loop nests. This paper outlines a framework that enables the use of unimodular transformations to restructure imperfect loop nests. The concepts previously ...

متن کامل

Effects of Harvester Ants’ Nest Activity (Messor spp.) on Structure and Function of Plant Community in a Steppe Rangeland (Case Study: Roodshoor, Saveh, Iran)

Harvester ants are known as one of the most renowned bio-disturbances in the arid and semi-arid ecosystems that affecte vegetation by collecting seeds and harvesting plants. It seems that physiognomy of plant association in steppe shrub land of Roodshoor, Saveh, Iran has been highly changed by harvester ants’ activities that caused to conduct this research. The study was carried out on active a...

متن کامل

Polygonal Iteration Space Partitioning using the Polyhedral Model

OF THE DISSERTATION Polygonal Iteration Space Partitioning using the Polyhedral Model By Aniket Shivam Master of Science in Computer Science University of California, Irvine, 2016 Professor Alexander V. Veidenbaum, Chair Loop-nests in most scientific applications perform repetitive operations on array(s) and account for most of the program execution time. Traditional loop transformations, such ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2001